package com.huadi.cmcc.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.huadi.cmcc.domain.Order;
import org.apache.ibatis.annotations.Param;

/**
 * @Entity com.huadi.cmcc.domain.Order
 */
public interface OrderMapper extends BaseMapper<Order> {
    /**
     * 分页查询订单
     * @param page
     * @param userid
     * @return
     */
    Page<Order> listByPage(@Param("page") Page<Order> page, @Param("packageName")String packageName,
                           @Param("userid") Long userid);
}




